
        # textview
        self.$widget_id = self.wtree.get_widget('$widget_id')
        self.${widget_id}_buffer = gtk.textbuffer()
        self.$widget_id.set_buffer(self.${widget_id}_buffer)

